<!DOCTYPE html>
<html ng-app=authapp>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <title>江苏省中等职业院校评估系统</title>
    <meta name="keywords" content="江苏省中等职业院校评估系统">
    <meta name="description" content="江苏省中等职业院校评估系统">

    <link rel="stylesheet" href="../../../plugin/bootstrap/bootstrap.min.css" />
    <link rel="stylesheet" href="../../../basic/style/base.css" />
    <link rel="stylesheet" href="../../../models/admin/css/home.css"/>
    <link rel="stylesheet" href="../../../models/admin/css/m-detail.css"/>
    <script src="../../../plugin/angular/angular.min.js"></script>
    <script src="../../../plugin/angular/angular-cookies.min.js"></script>
    <script src="../../../plugin/angular/ng-file-upload.min.js"></script>
    <script src="../../../basic/js/source.js"></script>
    <script src="../../../basic/js/base.js"></script>
    <script src="../../../models/agency/js/schoolfilldata/view_details.js"></script>
    <script src="../../../basic/js/directive.js"></script>
</head>

<body>
<div authheader></div>
<div class="main-content" >
    <div leftaside></div>
    <aside>
        <div class="top-bar"><a href="school_dataFill.html">一二级指标</a><s class="arrowr"></s><span>评估细则</span></div>
        <div class="m-add" ng-controller="viewDController">
            <div class="list-content">

                <table width="100%" class="am-table am-table-bordered am-table-radius am-table-striped am-table-hover">
                        <thead>
                            <tr class="am-success">
                                <th colspan="4">
                                  <div class="containers">
                                    <ul>
                                        <li style="width:70px">编号</li>
                                        <li style="width:132px">内容</li>
                                        <li style="width:32%">建设要求</li>
                                        <li style="width:32%">评估标准</li>
                                        <li style="width:10%">操作</li>
                                    </ul>
                                  </div>
                                </th>
                            </tr>
                        </thead>
                </table>
                <ul ng-repeat="(num, arraylist) in list">
                  <li>
                      <div class="containers">
                        <ul>
                            <li style="width: 70px; text-align:center">{{preNum + '.' + (num+1)}}</li>
                            <li style="width: 132px;border:0; text-align: center">{{arraylist.s_title}}</li>
                            <li style="width: 32%;">
                                {{arraylist.s_name}}
                            </li>
                            <li style="width: 32%">
                                {{arraylist.s_content}}
                            </li>
                            <li style="width:10%">
                                <div class="btn" ng-click="show(num)">查看详情</div>
                            </li>
                        </ul>
                      </div>
                      <div class="detail-main" id="{{num}}" style="display:none">
                        <div class="file-list">
                            <ul>
                                <li style="overflow:hidden" >
                                    <span>
                                        <select ng-model="arraylist.applyFile.s_score" ng-change="changed(arraylist.applyFile.s_score, arraylist)" style="float: left;">
                                            <option value="">请选择</option>
                                            <option value="a">A</option>
                                            <option value="b">B</option>
                                            <option value="c">C</option>
                                        </select>
                                    </span>
                                    
                                    <span class="s2 ng-binding ng-scope"  title="无" style="float:left">
                                        <div class="uploade" style="margin:0 0 0 10px; width:110px">
                                            <span class="ng-binding">选择自评等级</span>
                                            <input type="file" ngf-select="publish($file, $invalidFiles, arraylist)" ngf-max-height="1000" ngf-max-size="3MB" class="ng-pristine ng-untouched ng-valid ng-not-empty">
                                        </div>
                                    </span>
                                    <div style="clear: both;padding-top: 8px" ng-if="arraylist.applyFile && arraylist.applyFile.s_employment_distribution_filename">
                                        <span style="float:left;width: 310px;margin-top:4px; margin-right: 10px">{{arraylist.applyFile.s_employment_distribution_filename}}</span>
                                        <div class="btn" ng-click="deletecp(arraylist.applyFile.p_id)">删除</div>
                                    </div>
                                </li>
                            </ul>
                                
                        </div>
                        <div class="uploader" ng-repeat="(index, arraysublist) in arraylist.list">
                            <form class="m-add" name="myForm" novalidate>
                                <div class="cooleLists">
                                    <!-- ngIf: arraylist.p_type == 'text' -->
                                    <!-- ngIf: arraylist.p_type == 'number' -->
                                    <!-- ngIf: arraylist.p_type == 'file' -->
                                    <em class="fl" style="width:500px" title="{{replaces(arraysublist.s_name)}}">{{arraysublist.s_name}}</em>
                                    <span class="s2 ng-binding ng-scope"  title="无">
                                        <div class="uploade">
                                            <span class="ng-binding">上传文件</span>
                                            <input type="file" ngf-select="upload($file, $invalidFiles, arraysublist)" ngf-max-height="1000" ngf-max-size="3MB" class="ng-pristine ng-untouched ng-valid ng-not-empty">
                                        </div>
                                    </span>
                                    <div class="btn" ng-click="saveData(arraysublist.fileLists, arraysublist.p_id)">保存</div>
                                    
                                </div>
                            </form>

                            
                            <div class="file-list" ng-if="arraysublist.files.length>0">
                                <ul>
                                    <li ng-repeat="(index, item) in arraysublist.flielists" ng-if="item.s_value">
                                        <span>{{slices(item.s_url)}}</span>
                                        <span class="btn" ng-click="deletfile(index, arraysublist.files[0].p_id, 0, arraysublist.flielists)">删除</span>
                                    </li>
                                </ul>
                                    
                            </div>
                            <div class="file-list" ng-if="arraysublist.fileLists && arraysublist.fileLists.length > 0">
                                <ul>
                                    <li ng-repeat="(index, item) in arraysublist.fileLists">
                                        <span>{{item.fileName}}</span>
                                        <span class="btn" ng-click="deletfile(index, arraysublist, 1)">删除</span>
                                    </li>
                                </ul>
                                
                            </div>
                        </div>
                    </div>
                  </li>
                </ul>
            </div>
        </div>
    </aside>
</div>
<div authfooter></div>
</body>
</html>
